//
//  FeedsModel.m
//  QuickReadComic
//
//  Created by 苗钧豪 on 16/9/10.
//  Copyright © 2016年 苗钧豪. All rights reserved.
//

#import "FeedsModel.h"
@implementation FeedsModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
        _user = [CommunityUserModel modelWithDic:value];
    } else if ([key isEqualToString:@"content"]) {
        _content = [CommunityContentModel modelWithDic:value];
    }
}
@end
